//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Joe Jackson','Hershey Theatre','Hershey, PA','Wednesday','5/29/2024','8:00 PM','6231709','Joe-Jackson-5-29-2024'],['Jon Anderson & The Band Geeks','Hershey Theatre','Hershey, PA','Thursday','6/20/2024','8:00 PM','6314430','Jon-Anderson---The-Band-Geeks-6-20-2024'],['Donny Osmond','Hershey Theatre','Hershey, PA','Tuesday','7/2/2024','8:00 PM','6304973','Donny-Osmond-7-2-2024'],['Justin Hayward & Christopher Cross','Hershey Theatre','Hershey, PA','Tuesday','7/9/2024','7:30 PM','6288896','Justin-Hayward---Christopher-Cross-7-9-2024'],['Pat Benatar & Neil Giraldo','Hershey Theatre','Hershey, PA','Thursday','7/18/2024','8:00 PM','6343032','Pat-Benatar---Neil-Giraldo-7-18-2024'],['Idina Menzel','Hershey Theatre','Hershey, PA','Friday','8/16/2024','8:00 PM','6401291','Idina-Menzel-8-16-2024'],['Joe Bonamassa','Hershey Theatre','Hershey, PA','Wednesday','8/21/2024','8:00 PM','6261907','Joe-Bonamassa-8-21-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Tuesday','9/24/2024','7:30 PM','6358258','Beetlejuice---The-Musical-9-24-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Wednesday','9/25/2024','7:30 PM','6358259','Beetlejuice---The-Musical-9-25-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Thursday','9/26/2024','7:30 PM','6358260','Beetlejuice---The-Musical-9-26-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Friday','9/27/2024','8:00 PM','6358261','Beetlejuice---The-Musical-9-27-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Saturday','9/28/2024','2:00 PM','6358262','Beetlejuice---The-Musical-9-28-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Saturday','9/28/2024','8:00 PM','6358263','Beetlejuice---The-Musical-9-28-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Sunday','9/29/2024','1:00 PM','6358264','Beetlejuice---The-Musical-9-29-2024'],['Beetlejuice - The Musical','Hershey Theatre','Hershey, PA','Sunday','9/29/2024','6:30 PM','6358265','Beetlejuice---The-Musical-9-29-2024'],['Dane Cook','Hershey Theatre','Hershey, PA','Friday','10/11/2024','7:30 PM','6412218','Dane-Cook-10-11-2024'],['Nikki Glaser','Hershey Theatre','Hershey, PA','Saturday','10/12/2024','7:00 PM','6414092','Nikki-Glaser-10-12-2024'],['David Sedaris','Hershey Theatre','Hershey, PA','Wednesday','10/16/2024','7:30 PM','6441619','David-Sedaris-10-16-2024'],['Brian Regan','Hershey Theatre','Hershey, PA','Thursday','10/17/2024','7:30 PM','6412287','Brian-Regan-10-17-2024'],['Menopause - The Musical 2','Hershey Theatre','Hershey, PA','Saturday','10/19/2024','3:00 PM','6264724','Menopause---The-Musical-2-10-19-2024'],['Disney Junior Live: Let's Play','Hershey Theatre','Hershey, PA','Wednesday','10/23/2024','6:00 PM','6441661','Disney-Junior-Live--Let-s-Play-10-23-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Tuesday','10/29/2024','7:30 PM','6358242','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-10-29-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Wednesday','10/30/2024','7:30 PM','6358243','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-10-30-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Thursday','10/31/2024','7:30 PM','6358244','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-10-31-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Friday','11/1/2024','8:00 PM','6358245','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-11-1-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Saturday','11/2/2024','2:00 PM','6358246','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-11-2-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Saturday','11/2/2024','8:00 PM','6358247','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-11-2-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Sunday','11/3/2024','1:00 PM','6358248','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-11-3-2024'],['Ain't Too Proud: The Life and Times of The Temptations','Hershey Theatre','Hershey, PA','Sunday','11/3/2024','6:30 PM','6358249','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-11-3-2024'],['Air Supply','Hershey Theatre','Hershey, PA','Friday','11/8/2024','8:00 PM','6330469','Air-Supply-11-8-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Tuesday','11/26/2024','7:30 PM','6358234','Hamilton-11-26-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Wednesday','11/27/2024','1:30 PM','6358235','Hamilton-11-27-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Wednesday','11/27/2024','7:30 PM','6358236','Hamilton-11-27-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Friday','11/29/2024','8:00 PM','6358237','Hamilton-11-29-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Saturday','11/30/2024','2:00 PM','6358238','Hamilton-11-30-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Saturday','11/30/2024','8:00 PM','6358239','Hamilton-11-30-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Sunday','12/1/2024','1:00 PM','6358240','Hamilton-12-1-2024'],['Hamilton','Hershey Theatre','Hershey, PA','Sunday','12/1/2024','7:00 PM','6358241','Hamilton-12-1-2024'],['Straight No Chaser','Hershey Theatre','Hershey, PA','Wednesday','12/11/2024','7:30 PM','6424237','Straight-No-Chaser-12-11-2024'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Tuesday','1/14/2025','7:30 PM','6358250','Pretty-Woman---The-Musical-1-14-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Wednesday','1/15/2025','7:30 PM','6358251','Pretty-Woman---The-Musical-1-15-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Thursday','1/16/2025','7:30 PM','6358252','Pretty-Woman---The-Musical-1-16-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Friday','1/17/2025','8:00 PM','6358253','Pretty-Woman---The-Musical-1-17-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Saturday','1/18/2025','2:00 PM','6358254','Pretty-Woman---The-Musical-1-18-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Saturday','1/18/2025','8:00 PM','6358255','Pretty-Woman---The-Musical-1-18-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Sunday','1/19/2025','1:00 PM','6358256','Pretty-Woman---The-Musical-1-19-2025'],['Pretty Woman - The Musical','Hershey Theatre','Hershey, PA','Sunday','1/19/2025','6:30 PM','6358257','Pretty-Woman---The-Musical-1-19-2025'],['Hershey Felder As George Gershwin Alone','Mccallum Theatre','Palm Desert, CA','Friday','2/14/2025','8:00 PM','6379368','Hershey-Felder-As-George-Gershwin-Alone-2-14-2025'],['Hershey Felder As George Gershwin Alone','Mccallum Theatre','Palm Desert, CA','Saturday','2/15/2025','2:00 PM','6379369','Hershey-Felder-As-George-Gershwin-Alone-2-15-2025'],['Hershey Felder As George Gershwin Alone','Mccallum Theatre','Palm Desert, CA','Saturday','2/15/2025','8:00 PM','6379370','Hershey-Felder-As-George-Gershwin-Alone-2-15-2025'],['Beth Hart','Hershey Theatre','Hershey, PA','Wednesday','4/18/2074','7:30 PM','5665191','Beth-Hart-4-18-2074']],'Hershey Theater','http://www.ticketnetwork.com/ticket/Hershey-Theater-events.aspx');